<div style="height: 10px; border-bottom: 1px solid #e5e5e5"></div>
<div class="myFriendList newFriendPageContain">
    <table>
        <tr ng-repeat="friend in friendArray">
           <!-- <td style="padding-left: 5px;width: 25%">
                <img class="avatar" ng-src="{{friend.head_url}}">
            </td>
            <td style="width: 55%">
                <span>{{friend.name}}</span><br/>
            </td>
            <td style="text-align: right;width: 20%;padding-right: 15px">
                <div ng-switch="friend.isAdd">
                    <a ng-switch-when="false" class="myBtn" style="width:80%;height: 20px;line-height: 20px;font-size: 12px;" ng-click="acceptReq($index)">接受</a>
                    <span ng-switch-when="true" style="color: #808080;font-size: 12px;">已添加</span>
                </div>-->
                <!--<div>
                    <a ng-show="acceptApply" class="myBtn" style="width:80%;height: 20px;line-height: 20px" ng-click="acceptReq($index)">接受</a>
                    <span ng-show="addApply" style="font-size: 14px;color: #808080">已添加</span>
                </div>
            </td>-->
            <td style="width:17%;padding-left: 5px" ng-click="checkDetails($index)">
                <img class="avatar" ng-src="{{friend.head_url || (friend.sex==1 ? 'img/defaultMan.png':'img/defaultGirl.png')}}"/>
            </td>
            <td style="width:17%;padding-left: 5px" ng-show="friends.length == 0" ng-click="checkDetails($index)">
                <img class="avatar" ng-src="img/defaultMan.png"/>
            </td>
            <td style="width:5%;" ng-click="checkDetails($index)">&nbsp;</td>
            <td style="width:25%;color: #000;" ng-click="checkDetails($index)">
                {{friend.name}}
            </td>
            <td style="width:25%;color: #000;" ng-click="checkDetails($index)">
                {{friend.country=='中国' ? friend.province : friend.country}}
            </td>
            <td style="width:15%;">
                <div ng-switch="friend.isAdd" style="text-align: center">
                    <a ng-switch-when="false" class="myBtn" style="width:70%;height: 20px;line-height: 20px;font-size: 12px;" ng-click="acceptReq($index)">接受</a>
                    <span ng-switch-when="true" style="color: #808080;font-size: 12px;">已添加</span>
                </div>
            </td>
        </tr>
    </table>
</div>